package com.nanjia.boot.myflow.order.item.model.query;

import com.nanjia.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.util.List;
import java.math.BigDecimal;

/**
 * 订单商品明细分页查询对象
 *
 * @author 周洋
 * @since 2025-07-18 14:59
 */
@Schema(description ="订单商品明细查询对象")
@Getter
@Setter
public class OrderItemQuery extends BasePageQuery {

    private Long id;
    @Schema(description = "订单ID")
    private Long orderId;
    @Schema(description = "SKU ID")
    private Long skuId;
    @Schema(description = "商品名称（下单时）")
    private String productName;
    @Schema(description = "商品规格（下单时）")
    private String skuSpecs;
    @Schema(description = "购买单价")
    private BigDecimal price;
    @Schema(description = "购买数量")
    private Integer quantity;
    private List<String> createTime;
    @Schema(description = "谁创建的")
    private String createBy;
    @Schema(description = "更新记录")
    private String updateBy;
    private String createIp;
    private String updateIp;
    private List<String> updateTime;

    private Long userId;
    private Integer orderStatus;

}
